package cn.buk.api.eotms.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author yfdai
 */
public class TokenRequest {

  /**
   * 授权类型，固定值：client_credential
   */
  @JsonProperty("grant_type")
  private String grantType = "client_credential";

  /**
   * 应用id
   */
  @JsonProperty("appid")
  private String appId;

  /**
   * 应用密钥
   */
  @JsonProperty("secret")
  private String appSecret;

  public String getGrantType() {
    return grantType;
  }

  public String getAppId() {
    return appId;
  }

  public void setAppId(String appId) {
    this.appId = appId;
  }

  public String getAppSecret() {
    return appSecret;
  }

  public void setAppSecret(String appSecret) {
    this.appSecret = appSecret;
  }
}
